package com.chen.base.module.base.util;

import com.chen.entity.base.login.Admin;

/**
 * @Title: manager-spring-mvc-hb
 * @Description: to do
 * @Author: chenjiwei
 * @Date: 2020-11-23 22:00
 * @Version: 1.0.0
 */
public class JWTInfo {
    private static ThreadLocal<Admin> threadLocal = new ThreadLocal<Admin>();
    public static Admin get(){
        return threadLocal.get();
    }
    public static void set(Admin admin){
        threadLocal.set(admin);
    }
}
